@if (count($errors) > 0)
    <div class="alert alert-danger" style="margin-top: 20px">
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif
@if(Session::get('msg')) 
  <div class="alert alert-success" style="margin-top: 20px">
      <ul>
          <li>{{ Session::get('msg') }}</li>
      </ul>
  </div>                            
@endif